package com.asa.common.common

import android.util.Log
import com.asa.common.BuildConfig

object LogUtils {
    private const val TAG = "CompanyReading"
    fun v(msg:String){
        if (BuildConfig.DEBUG){
            Log.v(TAG, msg)
        }
    }

    fun d(msg:String){
        if (BuildConfig.DEBUG) {
            Log.d(TAG, msg)
        }
    }

    fun i(msg:String,tag:String = TAG){
        if (BuildConfig.DEBUG) {
            Log.i(tag, msg)
        }
    }


    fun e(msg:String,throwable: Throwable? = null){
        if (BuildConfig.DEBUG) {
            Log.e(TAG, msg, throwable)
        }
    }

}